home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppoooollllffff((((3333GGGG)))) ppppoooollllffff((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ppppoooollllffff,,,, ppppoooollllffffiiii,,,, ppppoooollllffffssss,,,, ppppoooollllffff2222,,,, ppppoooollllffff2222iiii,,,, ppppoooollllffff2222ssss - draws a filled polygon
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppoooollllffff((((nnnn,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
- rrrreeeeaaaallll ppppaaaarrrrrrrraaaayyyy((((3333,,,,nnnn))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppoooollllffffiiii((((nnnn,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
- iiiinnnntttteeeeggggeeeerrrr****4444 ppppaaaarrrrrrrraaaayyyy((((3333,,,,nnnn))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppoooollllffffssss((((nnnn,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
- iiiinnnntttteeeeggggeeeerrrr****2222 ppppaaaarrrrrrrraaaayyyy((((3333,,,,nnnn))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppoooollllffff2222((((nnnn,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
- rrrreeeeaaaallll ppppaaaarrrrrrrraaaayyyy((((2222,,,,nnnn))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppoooollllffff2222iiii((((nnnn,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
- iiiinnnntttteeeeggggeeeerrrr****4444 ppppaaaarrrrrrrraaaayyyy((((2222,,,,nnnn))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ppppoooollllffff2222ssss((((nnnn,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 nnnn
- iiiinnnntttteeeeggggeeeerrrr****2222 ppppaaaarrrrrrrraaaayyyy((((2222,,,,nnnn))))
-
- All of the above routines are functionally the same. They differ only in
- the declared type of their parameters and whether or not they assume a
- two-dimensional or three-dimensional world.
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n expects the number of vertices in the polygon.
-
- _p_a_r_r_a_y expects the array containing the vertices of the polygon.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ppppoooollllffff fills the polygonal area bounded by the vertices specified in
- _p_a_r_r_a_y. The first and last vertices connect automatically to close a
- polygon. The vertices can be expressed as integers, shorts, or real
- numbers, in 2-D or 3-D space. 2-D polygons are drawn with _z=0. After
- the polygon is filled, the current graphics position is set to the first
- vertex in the array.
-
- Properties that affect the drawing of polygons include the current color,
- writemask, fill pattern, shade model, polygon antialiasing mode, polygon
- scan conversion mode, and subpixel mode. Some polygon modes are
- applicable only if old-style scan conversion is defeated. (See note
- below.)
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ppppoooollllffff((((3333GGGG)))) ppppoooollllffff((((3333GGGG))))
-
-
-
- There can be no more than 256 vertices in a polygon. In addition, ppppoooollllffff
- cannot correctly draw polygons that intersect themselves.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- backfa, bgnpol, concav, frontf, glcomp, poly, polymo, polysm, scrsub,
- setpat, shadem, subpix
-
- NNNNOOOOTTTTEEEE
- By default ppppoooollllffff draws a polygon using the old-style scan conversion
- algorithm, rather than the point sampling algorithm used by bbbbggggnnnnppppoooollll and
- eeeennnnddddppppoooollll. Point sampling is prefered over old-style scan conversion
- because it has higher performance, it results in higher-quality images
- when blending, logical operations, or stenciling are used, and it
- supports new rendering features such as texture mapping, fog, and
- antialiasing. Call ggggllllccccoooommmmpppp((((GGGGLLLLCCCCOOOOLLLLDDDD,,,,0000)))) to enable point sampling of polygons
- generated by ppppoooollllffff.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-